﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;

namespace ThapCam.System
{
    public static class WebConfig
    {
        public static string HOST_URL = "HOST_URL";
        public static string HOST_RESOURCE = "HOST_RESOURCE";        
        public static string PIC_FOLDER = "PIC_FOLDER";
        public static string IS_COMPRESS_HTML = "IS_COMPRESS_HTML";

        public static void initConfig()
        {
            HOST_URL = ConfigurationManager.AppSettings[HOST_URL].Trim();
            HOST_RESOURCE = ConfigurationManager.AppSettings[HOST_RESOURCE].Trim();
            PIC_FOLDER = ConfigurationManager.AppSettings[PIC_FOLDER].Trim();           
        }              
    }
}
